<template>
  <view>
    <view class="content">
      <InfoPanel title="已申请" :testDriveList="testDriveList" type="试驾"></InfoPanel>
      <u-empty mode="search" text="预约试驾为空" v-if="!testDriveList.length"
        icon="https://www.kamlung.net/images/other/search1.png">
      </u-empty>
      <uni-load-more :status="status" v-if="testDriveList.length > 10" />
    </view>
    <view style="height: 30rpx"></view>
  </view>
</template>
<script>
import { carAppointListMixin } from '@/mixins/mixins'
export default {
  mixins: [carAppointListMixin], // 混入
  data() {
    return {
      type: 'A',
    }
  },
  onLoad() {
    // 混合分享信息
    this.shareMixin.title = `我的试驾`
    this.shareMixin.path = `/pages/TestDrive/MyTestDrive`
  },
}
</script>

<style lang="scss">
page {
  background: #fafafa;
}
</style>
